create a simple graphql api